<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>表单基本用法</title>
    </head>
    <body>
         <div id = "app">
            <input type = "text" v-model.trim = "message" placeholder = "输入...">
            <p>输入的内容是：{{ message }}</p>
        </div>
        <script src = "../../vue.js"></script>
        <script>
            var app = new Vue({
                el:"#app",
                data:{
                    message: ''
                }
            })
        </script>

    </body>
</html>